package co.kr.hanbitedu.sample;

import android.app.TabActivity;
import android.content.Intent;
import android.os.Bundle;
import android.widget.TabHost;

public class IntentTabDemo extends TabActivity {
    /** Called when the activity is first created. */
    @Override
    public void onCreate(Bundle savedInstanceState) {
        super.onCreate(savedInstanceState);
        
        TabHost host = getTabHost();
        
        host.addTab(host.newTabSpec("one")
        		.setIndicator("CW")
        		.setContent(new Intent(this, CWBrowser.class)));
        host.addTab(host.newTabSpec("two")
        		.setIndicator("Android")
        		.setContent(new Intent(this, AndroidBrowser.class)));
    }
}